// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';
const apiPrefix = '/web';

/** 获取电压一致性数据 GET /health/voltage/data */
export async function voltageControllerGetData(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.voltageControllerGetDataParams,
  options?: { [key: string]: any },
) {
  return request<API.VoltageHealth>(`${apiPrefix}/health/voltage/data`, {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
